package Array_Object;

/**
 * ClassName:Car
 * Package:Array_Object
 * Description:
 *
 * @Author:ZhangXin
 * @Create2023/1/15-12:19
 * @Version:v1.0
 */
public class Car {
    private String brand;//品牌
    private int prices;//价格
    private String color;//颜色

    public Car() {
    }

    public Car(String brand, int prices, String color) {
        this.brand = brand;
        this.prices = prices;
        this.color = color;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public int getPrices() {
        return prices;
    }

    public void setPrices(int prices) {
        this.prices = prices;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }
}
